package com.quan.oss.common.aliyun;

/**
 * 空间Bucket
 * @author yhaoquan
 *
 */
public class OSSBucket {

	/**
	 * 空间名称
	 */
	private String name ;
	
	/**
	 * 端点
	 */
	private String endPoint ;
	
	/**
	 * 位置
	 */
	private String location ;
	
	public OSSBucket() {
	}

	public OSSBucket(String name, String endPoint, String location) {
		super();
		this.name = name;
		this.endPoint = endPoint;
		this.location = location;
	}



	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEndPoint() {
		return endPoint;
	}

	public void setEndPoint(String endPoint) {
		this.endPoint = endPoint;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	@Override
	public String toString() {
		return "OSSBucket [name=" + name + ", endPoint=" + endPoint + ", location=" + location + "]";
	}
}
